import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './mockjs/mock-serve'
import './api/index'
import './validate'
import {Button} from 'mint-ui'
import CartControl from './components/common/cartcontrol/CartControl.vue'
import VueLazyload from 'vue-lazyload'
import loading from './assets/img/loading.gif'
Vue.use(VueLazyload, {
  loading
})

Vue.component(Button.name, Button);
Vue.component('cart-control',CartControl)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
